package com.objectproject.main.model;

import org.springframework.web.multipart.MultipartFile;

import com.objectproject.main.enumeration.ValueType;


public class MyPrimitiveCommandModel  {
	
	ValueType primitiveType;
	String primitiveString;
	MultipartFile primitiveFile;
	
	public void refine(){
		
	}
	
	public ValueType getPrimitiveType() {
		return primitiveType;
	}
	
	public void setPrimitiveType(ValueType primitiveType) {
		this.primitiveType = primitiveType;
	}

	public String getPrimitiveString() {
		return primitiveString;
	}
	public void setPrimitiveString(String primitiveString) {
		this.primitiveString = primitiveString;
	}
	
	public MultipartFile getPrimitiveFile() {
		return primitiveFile;
	}

	public void setPrimitiveFile(MultipartFile primitiveFile) {
		this.primitiveFile = primitiveFile;
	}

	@Override
	public String toString() {
		
		StringBuilder sb = new StringBuilder();
		
		sb.append("valueType : " + primitiveType + "\n");
		sb.append("primitiveString : " + primitiveString + "\n");
		sb.append("primitiveFile : " + primitiveFile + "\n");
		
		return sb.toString();
		
	}
	
}
